-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add function to delete pending reviews on a pull request #1897
Merged
s-t-e-v-e-n-k
merged 18 commits into
PyGithub:master
from
CS481-Team-Pumpkin:feature-delete-review
Oct 24, 2021
Merged
Add function to delete pending reviews on a pull request #1897
s-t-e-v-e-n-k
merged 18 commits into
PyGithub:master
from
CS481-Team-Pumpkin:feature-delete-review
Oct 24, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## master #1897 +/- ##
==========================================
- Coverage 98.87% 98.86% -0.02%
==========================================
Files 108 108
Lines 11044 11062 +18
==========================================
+ Hits 10920 10936 +16
- Misses 124 126 +2
Continue to review full report at Codecov.
|
…/PyGithub into feature-delete-review
…/PyGithub into feature-delete-review
simkimsia
added a commit
to simkimsia/PyGithub
that referenced
this pull request
Oct 24, 2021
commit 6452ddf Author: Steve Kowalik <steven@wedontsleep.org> Date: Sun Oct 24 15:21:31 2021 +1100 Add Repository.rename_branch method (PyGithub#2089) The GitHub API exposes an endpoint to rename a branch, so we should support calling it. Sadly, there is not enough information to add that method to the Branch class, so expose it in the Repository object. Fixes PyGithub#1901 commit c8a945b Author: Claire Johns <42869556+johnsc1@users.noreply.github.com> Date: Sun Oct 24 00:15:31 2021 -0400 Add function to delete pending reviews on a pull request (PyGithub#1897) Add a delete method to PullRequestReview to allow dismissing them. Fixes PyGithub#1856 Co-authored-by: bagashvilit <bagashvilit@allegheny.edu> Co-authored-by: WonjoonC <chos@allegheny.edu> commit f1faf94 Author: Steve Kowalik <steven@wedontsleep.org> Date: Fri Oct 22 08:39:31 2021 +1100 Cover all code paths in search_commits (PyGithub#2087) The search_commits method was only very lightly tested, meaning over half of it was not covered. Write another test case, covering all code paths.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request will add a delete review function to resolve Issue #1856 . The new function
delete
is in github/PullRequestReview.py. It uses the Github API call linked in the issue to delete a review on a pull request. The test for this function is passing.